Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dcmd_c(playerid, params[] )
- {
- #pragma unused params
- new C_Rules;
- new BigString[1900];
- strcat(BigString, "\n{FFFFFF}/boost - Speed and jump boost for your car!.", 1900 );
- strcat(BigString, "\n{FFFFFF}/t - gives you a list of all the teleport commands.", 1900 );
- strcat(BigString, "\n{FFFFFF}/v- to spawn a car in front of you.", 1900 );
- strcat(BigString, "\n{FFFFFF}/heal - refills you health.", 1900 );
- strcat(BigString, "\n{FFFFFF}/kill - kills your player.", 1900 );
- strcat(BigString, "\n{FFFFFF}/changepass - lets you change your password.", 1900 );
- strcat(BigString, "\n{FFFFFF}/votekick - lets you vote kick a player.", 1900 );
- strcat(BigString, "\n{FFFFFF}/pm - lets you send a private message to a player.", 1900 );
- strcat(BigString, "\n{FFFFFF}/reply - lets you reply to a private message sent to you.", 1900 );
- strcat(BigString, "\n{FFFFFF}/god - gives you godmode.", 1900 );
- strcat(BigString, "\n{FFFFFF}/colors - gives you a list of colors to choose from.", 1900 );
- strcat(BigString, "\n{FFFFFF}/radio - gives you a list radio stations.", 1900 );
- strcat(BigString, "\n{FFFFFF}/afk - lets you go in afk mode (Away From Keyboard).", 1900 );
- strcat(BigString, "\n{FFFFFF}/back - gets you out of afk mode.", 1900 );
- strcat(BigString, "\n{FFFFFF}/afklist - gives you a list of people in afk mode..", 1900 );
- strcat(BigString, "\n{FFFFFF}/w - gives you a list weapons available!", 1900 );
- strcat(BigString, "\n{FFFFFF}/joinrace - Allows you to join a race.", 1900 );
- strcat(BigString, "\n{FFFFFF}/exitrace - Allows you to exit race.", 1900 );
- strcat(BigString, "\n", 1900 );
- ShowPlayerDialog(playerid,C_Rules, DIALOG_STYLE_MSGBOX, "{FFFA00}Commands", BigString, "Ok","Cancel");
- return 1;
- }
- dcmd_god(playerid, params[] )
- {
- #pragma unused params
- if (God[playerid] == 1)
- {
- GameTextForPlayer(playerid,"~w~Godmode~r~ OFF",3000,4);
- SetPlayerHealth(playerid, 100);
- SetPlayerArmour(playerid, 100);
- God[playerid] = 0;
- return 1;
- }
- else if(God[playerid] == 0)
- {
- SendClientMessage(playerid,0xFF0000FF,"{FF00EB}Note: You can still die if you blow up in a car or if you type the command/kill.");
- GameTextForPlayer(playerid,"~w~Godmode~g~ ON",3000,4);
- God[playerid] = 1;
- SetPlayerArmour(playerid, 9999999);
- SetPlayerHealth(playerid, 9999999);
- return 1;
- }
- return 0;
- }
- dcmd_heal(playerid, params[] )
- {
- #pragma unused params
- SetPlayerHealth(playerid, 100.0);
- SendClientMessage(playerid,0x0A00FFFF,"You now have full health!");
- return 1;
- }
- dcmd_kill(playerid, params[] )
- {
- #pragma unused params
- SetPlayerHealth(playerid, 0.0);
- SendClientMessage(playerid,0xEB0000FF,"You killed yourself!");
- return 1;
- }
- dcmd_help(playerid, params[] )
- {
- #pragma unused params
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,"{FFFA00}Help","Commands (/c)\nTeleports (/t)\n","Select","Close");
- return 1;
- }
- dcmd_tele(playerid, params[] )
- {
- #pragma unused params
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST,"{FFFA00}Teleports","Abandoned Farm (/af)\nAbandoned Farm 2 (/af2)\nLos Venturas Airport (/lva)\nLos Santos Airport (/lsa)\nAbandoned Airport (/aa)\nLos Venturas Drop 1 (/lvd1)\nLos Santos Parkor Map 1 (/lsp1)","Select","Close");
- return 1;
- }
- dcmd_colors(playerid, params[] )
- {
- #pragma unused params
- ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST,"{FFFA00}Server Colors","Yellow\nRed\nBlue\nGreen\nOrange","Select","Close");
- return 1;
- }
- dcmd_radio(playerid, params[] )
- {
- #pragma unused params
- ShowPlayerDialog(playerid, 123, DIALOG_STYLE_LIST,"{FF00FF}Radio Channels","Breath Carolina- Hit and Run\nThe Chainsmokers - #SELFIE\nDavid Guetta & Showtek - BAD\n50 Cent - Hold On\nSkrillex - Stranger\nAvicii - Addicted To You (Avicii Remix)\nColdplay - Fix You\nClara C- Fireflies (Owl City Cover)\n{FFFF00}Stop Radio","Select","Close");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement